//
//  Color.m
//  OC6_数组&字典作业2
//
//  Created by dllo on 15/10/31.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "Color.h"

@implementation Color

- (id)initWithName:(NSString *)name colorValue:(NSString *)colorValue
{
    self = [super init];
    if (self) {
        [self setName:name];
        [self setColorValue:colorValue];
    }
    return self;
}

- (void)info
{
    NSLog(@"%@ %@", [self name], [self colorValue]);
}



@end
